package com.senlingspace.system.service.impl;

import java.util.List;
import com.senlingspace.common.utils.DateUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.senlingspace.system.mapper.SlkjWdPrintLogMapper;
import com.senlingspace.system.domain.SlkjWdPrintLog;
import com.senlingspace.system.service.ISlkjWdPrintLogService;

/**
 * 腕带打印机打印日志Service业务层处理
 * 
 * @author SenlingSpace
 * @date 2024-08-08
 */
@Service
public class SlkjWdPrintLogServiceImpl implements ISlkjWdPrintLogService 
{
    @Autowired
    private SlkjWdPrintLogMapper slkjWdPrintLogMapper;

    /**
     * 查询腕带打印机打印日志
     * 
     * @param id 腕带打印机打印日志主键
     * @return 腕带打印机打印日志
     */
    // @Override
    // public SlkjWdPrintLog selectSlkjWdPrintLogById(Long id)
    // {
    //     return slkjWdPrintLogMapper.selectSlkjWdPrintLogById(id);
    // }

    /**
     * 查询腕带打印机打印日志列表
     * 
     * @param slkjWdPrintLog 腕带打印机打印日志
     * @return 腕带打印机打印日志
     */
    @Override
    public List<SlkjWdPrintLog> selectSlkjWdPrintLogList(SlkjWdPrintLog slkjWdPrintLog)
    {
        return slkjWdPrintLogMapper.selectSlkjWdPrintLogList(slkjWdPrintLog);
    }

    /**
     * 新增腕带打印机打印日志
     * 
     * @param slkjWdPrintLog 腕带打印机打印日志
     * @return 结果
     */
    @Override
    public int insertSlkjWdPrintLog(SlkjWdPrintLog slkjWdPrintLog)
    {
        slkjWdPrintLog.setCreateTime(DateUtils.getNowDate());
        return slkjWdPrintLogMapper.insertSlkjWdPrintLog(slkjWdPrintLog);
    }

    /**
     * 修改腕带打印机打印日志
     * 
     * @param slkjWdPrintLog 腕带打印机打印日志
     * @return 结果
     */
    // @Override
    // public int updateSlkjWdPrintLog(SlkjWdPrintLog slkjWdPrintLog)
    // {
    //     return slkjWdPrintLogMapper.updateSlkjWdPrintLog(slkjWdPrintLog);
    // }

    /**
     * 批量删除腕带打印机打印日志
     * 
     * @param ids 需要删除的腕带打印机打印日志主键
     * @return 结果
     */
    // @Override
    // public int deleteSlkjWdPrintLogByIds(Long[] ids)
    // {
    //     return slkjWdPrintLogMapper.deleteSlkjWdPrintLogByIds(ids);
    // }

    /**
     * 删除腕带打印机打印日志信息
     * 
     * @param id 腕带打印机打印日志主键
     * @return 结果
     */
    // @Override
    // public int deleteSlkjWdPrintLogById(Long id)
    // {
    //     return slkjWdPrintLogMapper.deleteSlkjWdPrintLogById(id);
    // }
}
